package edu.bbu.bibliospring.common.dto;

/**
 * Created by anna on 6/5/14.
 */
public class ProfileDto extends DataTransferObject {

    private static final long serialVersionUID = 1L;

    private Long id;
    private String username;
    private String password;
    private String firstName;
    private String lastName;
    private String role;

    public ProfileDto() {super(ProfileDto.class.getName());}

    public ProfileDto(String modelClass) {
        super(modelClass);
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    public String getLastName() {
        return lastName;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    @Override
    public String toString() {
        return "ProfileDto [id=" + this.id + ", username=" + this.username + ", password=" + this.password + ", firstName=" + this.firstName
                + ", lastName=" + this.lastName + ", role=" + this.role + "]";
    }
}
